package com.ys.otms.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@NoArgsConstructor
public class GoodsDto {
    private int goodsId;
    private String goodsName;
    private String icon;
    private int userId;
    private Date createTime;

    public GoodsDto(String goodsName, String icon) {
        this.goodsName = goodsName;
        this.icon = icon;
    }
}
